import { defineComponent, reactive } from 'vue'
import http from "@/request"
export default function useActivity(){
  let list = reactive({})
  const getActivityList = () => {
    http.get("/admin/sys/activity/page2").then(res => {
      list = res
      console.log("/activity/page2 list ==> ", list);
    }).catch(err => {
      console.log("/activity/page2 list err ==> ", err);
    })
  }
  return{
    getActivityList,
    list
  }
}